package edu.zzuli.model.xt.pzzc.xtgngl.iface;

import java.util.List;

import org.springframework.jdbc.core.namedparam.SqlParameterSource;

import edu.zzuli.common.Pagination;
import edu.zzuli.common.TreeNode;
import edu.zzuli.model.dao.BasePO;
import edu.zzuli.model.orm.po.GG_XTGN;

/**
 * @author tianshaojie
 * @date 2011-1-10
 * @discription : 
 */
public interface XtgnglService {

	public List getGG_XTGN();
	
	public List selectSplit(String sql, Pagination pagination);
	
	public List selectSplit(String sql, SqlParameterSource parameterSource, Pagination pagination);
	
	public void saveOrUpdateGG_XTGN(GG_XTGN gg_xtgn);
	
	public BasePO selectSinglePO(BasePO basePO);
	
	public void deleteBasePO(BasePO basePO);
	
	public void deleteGG_XTGN(String ids);
	
	public int getIntBySql(String sql);
	
	/**
	 * @author tianshaojie
	 * @date 2011-7-31
	 * @discription : 获得系统功能树
	 * @return List<TreeNode>
	 */
	public List<TreeNode> getXtgnTreeNode(String czlbId);
	
	/**
	 * @author tianshaojie
	 * @date 2011-7-31
	 * @discription : 为角色分配功能
	 * @param czlbId
	 * @param xtgns void
	 */
	public void saveGnqx(String czlbId,String xtgns);
}
